<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : CadastrarContaPagar
    Created on : 10/03/2009, 15:59:00
    Author     : Jaime Junior
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ice:outputHtml id="outputHtml1">
            <ice:outputHead id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./resources/camposDesabilitados.css" id="outputStyle3"/>
                <ice:outputStyle href="./xmlhttp/css/xp/xp.css" id="outputStyle2"/>
                <script>
                   function hidden(){
                  document.body.style.overflow='hidden';
               }
                </script>
                <title>Contas a Pagar</title>
            </ice:outputHead>
            <body onload="hidden();">
                <ice:outputBody id="outputBody1" style="-rave-layout: grid">
                    <ice:form id="form1">
                        <ice:panelPopup autoCentre="true" binding="#{Financeiro$CadastrarContaPagar.painelSair}" draggable="false" id="painelSair" modal="true"
                            rendered="#{Financeiro$CadastrarContaPagar.painelPopupSair.showDraggablePanel}"
                            style="height: 210px; left: 240px; right: 200px; top: 696px; bottom: 200px; position: absolute; width: 405px" visible="#{Financeiro$CadastrarContaPagar.painelPopupSair.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelSairCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgSairTitulo" value="Sair"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelSairCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText id="msgSairPainel"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 18px; left: 24px; top: 24px; position: absolute; text-align: center; width: 357px" value="Tem certeza que deseja sair dessa tela?"/>
                                    <ice:commandButton action="#{Financeiro$CadastrarContaPagar.botaoSairSim_action}"
                                        binding="#{Financeiro$CadastrarContaPagar.botaoSairSim}" id="botaoSairSim" image="/resources/botaoSim.png"
                                        immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 30%; top: 55%; position: absolute" value="Sim"/>
                                    <ice:commandButton action="#{Financeiro$CadastrarContaPagar.botaoSairNao_action}"
                                        binding="#{Financeiro$CadastrarContaPagar.botaoSairNao}" id="botaoSairNao" image="/resources/botaoNao.png"
                                        immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 30%; top: 55%; position: absolute" value="Não"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Financeiro$CadastrarContaPagar.painelConsulta}" draggable="false" id="painelConsulta"
                            modal="true" rendered="#{Financeiro$CadastrarContaPagar.panelPopup1Bean.showDraggablePanel}"
                            style="height: 210px; left: 240px; top: 720px; position: absolute; width: 405px" visible="#{Financeiro$CadastrarContaPagar.panelPopup1Bean.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelConsultaCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelConsulta" value="Busca"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelConsultaCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText id="msgConsultaTitulo"
                                        style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; height: 41px; left: 24px; top: 0px; position: absolute; text-align: center; width: 357px" value="Digita a conta que deseja consultar:"/>
                                    <ice:commandButton action="#{Financeiro$CadastrarContaPagar.botaoConsultaCancelar_action}" id="botaoConsultaCancelar"
                                        image="/resources/botaoCancelar.png" immediate="true" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 25%; top: 65%; position: absolute" value="Cancelar"/>
                                    <ice:commandButton action="#{Financeiro$CadastrarContaPagar.botaoConsultaOk_action}" id="botaoConsultaOk"
                                        image="/resources/botaoOk.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 25%; top: 65%; position: absolute" value="OK"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Financeiro$CadastrarContaPagar.painelAviso}" draggable="false" id="painelAviso"
                            modal="true" rendered="#{Financeiro$CadastrarContaPagar.panelPopup1Bean1.showDraggablePanel}"
                            style="height: 210px; left: 240px; top: 744px; position: absolute; width: 405px" visible="#{Financeiro$CadastrarContaPagar.panelPopup1Bean1.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelAvisoCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelAviso" value="Aviso"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelAvisoCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText id="msgAvisoResultado"
                                        style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; height: 17px; left: 24px; top: 24px; position: absolute; text-align: center; width: 357px" value="Não houve resultado "/>
                                    <ice:outputText id="msgAvisoPergunta"
                                        style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; height: 17px; left: 24px; top: 72px; position: absolute; text-align: center; width: 357px" value="Deseja fazer outra consulta?"/>
                                    <ice:commandButton action="#{Financeiro$CadastrarContaPagar.botaoAvisoSim_action}" id="botaoAvisoSim"
                                        image="/resources/botaoSim.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 30%; top: 65%; position: absolute" value="Sim"/>
                                    <ice:commandButton action="#{Financeiro$CadastrarContaPagar.botaoAvisoNao_action}" id="botaoAvisoNao"
                                        image="/resources/botaoNao.png" immediate="true" partialSubmit="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; right: 30%; top: 65%; position: absolute" value="Não"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelPopup autoCentre="true" binding="#{Financeiro$CadastrarContaPagar.painelMensagem}" draggable="false" id="painelMensagem"
                            modal="true" rendered="#{Financeiro$CadastrarContaPagar.panelPopup1Bean2.showDraggablePanel}"
                            style="height: 210px; left: 240px; top: 768px; position: absolute; width: 405px" visible="#{Financeiro$CadastrarContaPagar.panelPopup1Bean2.showModalPanel}">
                            <f:facet name="header">
                                <ice:panelGrid id="painelMensagemCabecalho" style="display: block; height: 30px; width: 180px">
                                    <ice:outputText id="msgPainelMensagem" value="Atenção"/>
                                </ice:panelGrid>
                            </f:facet>
                            <f:facet name="body">
                                <ice:panelLayout id="painelMensagemCorpo" layout="flow" style="display: block; height: 180px; position: absolute; width: 405px; -rave-layout: grid">
                                    <ice:outputText id="msgMensagemResultado"
                                        style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; height: 17px; left: 24px; top: 24px; position: absolute; text-align: center; width: 357px" value="Operação Efetuada Com Sucesso"/>
                                    <ice:outputText id="msgMensagemOperacao" style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; height: 17px; left: 24px; top: 72px; position: absolute; text-align: center; width: 357px"/>
                                    <ice:commandButton action="#{Financeiro$CadastrarContaPagar.botaoMensagemOk_action}" id="botaoMensagemOk"
                                        image="/resources/botaoOk.png" immediate="true"
                                        style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 16px; left: 45%; top: 70%; position: absolute" value="Ok"/>
                                </ice:panelLayout>
                            </f:facet>
                        </ice:panelPopup>
                        <ice:panelGroup id="painelGeral" style="height: 768px; margin-left: -512px; left: 50%; top: 0px; position: absolute; width: 1024px">
                            <ice:graphicImage id="imagemFundo"
                                style="height: 768px; margin-left: -512px; left: 50%; top: 0px; position: absolute; width: 1024px" value="/resources/telaContasPagar.jpg"/>
                            <ice:panelLayout id="painelConteudo" layout="flow" style="font-family: 'Courier New',Courier,monospace; font-size: 14px; height: 620px; left: 2%; top: 12%; position: absolute; width: 980px; -rave-layout: grid">
                                <ice:outputText id="labelDataPagamento"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 72px; top: 72px; position: absolute; text-align: right; width: 190px" value="Data Pagamento:"/>
                                <ice:outputText id="labelAssociado"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 72px; top: 96px; position: absolute; text-align: right; width: 190px" value="Associado:"/>
                                <ice:outputText id="labelEmpresa"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 72px; top: 120px; position: absolute; text-align: right; width: 190px" value="Empresa:"/>
                                <ice:outputText id="labelNumeroVenda"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 72px; top: 144px; position: absolute; text-align: right; width: 190px" value="Número Venda:"/>
                                <ice:outputText id="labelValorPagar"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 72px; top: 168px; position: absolute; text-align: right; width: 190px" value="Valor a Pagar:"/>
                                <ice:outputText id="labelTotalDescontar"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 72px; top: 192px; position: absolute; text-align: right; width: 190px" value="Total a Descontar:"/>
                                <ice:outputText id="labelTotalPagar"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 16px; left: 72px; top: 264px; position: absolute; text-align: right; width: 190px" value="Total a Pagar:"/>
                                <ice:selectInputDate binding="#{Financeiro$CadastrarContaPagar.campoData}" id="campoData"
                                    inputTitle="Selecione a Data do Pagamento." partialSubmit="true" popupDateFormat="dd/MM/yyyy" renderAsPopup="true"
                                    renderMonthAsDropdown="true" renderYearAsDropdown="true"
                                    style="font-family: Verdana,Arial,Helvetica,sans-serif; height: 21px; left: 262px; top: 72px; position: absolute; width: 230px; z-index: 1" value="#{Financeiro$CadastrarContaPagar.dataSelecionada.date1}"/>
                                <ice:selectOneMenu binding="#{Financeiro$CadastrarContaPagar.comboNumeroAssociado}" id="comboNumeroAssociado"
                                    partialSubmit="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 94px; position: absolute; width: 230px"
                                    title="Selecione o Associado." value="#{Financeiro$CadastrarContaPagar.associadoSelecionado.selectedObject}" valueChangeListener="#{Financeiro$CadastrarContaPagar.comboNumeroAssociado_processValueChange}">
                                    <f:selectItems id="selectOneMenu1selectItems" value="#{Financeiro$CadastrarContaPagar.associados}"/>
                                </ice:selectOneMenu>
                                <ice:selectOneMenu binding="#{Financeiro$CadastrarContaPagar.comboEmpresa}" id="comboEmpresa" partialSubmit="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 118px; position: absolute; width: 230px"
                                    title="Selecione a Empresa" value="#{Financeiro$CadastrarContaPagar.empresaSelecionada.selectedObject}" valueChangeListener="#{Financeiro$CadastrarContaPagar.comboEmpresa_processValueChange}">
                                    <f:selectItems id="selectOneMenu1selectItems2" value="#{Financeiro$CadastrarContaPagar.empresas}"/>
                                </ice:selectOneMenu>
                                <ice:selectOneMenu binding="#{Financeiro$CadastrarContaPagar.comboNumeroVenda}" id="comboNumeroVenda" partialSubmit="true"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; left: 262px; top: 142px; position: absolute; width: 230px"
                                    title="Selecione o Número da Venda." value="#{Financeiro$CadastrarContaPagar.vendaSelecionada.selectedObject}" valueChangeListener="#{Financeiro$CadastrarContaPagar.comboNumeroVenda_processValueChange}">
                                    <f:selectItems id="selectOneMenu1selectItems1" value="#{Financeiro$CadastrarContaPagar.vendas}"/>
                                </ice:selectOneMenu>
                                <ice:outputText binding="#{Financeiro$CadastrarContaPagar.campoTotalPagar}" id="campoTotalPagar"
                                    style="font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 18px; left: 264px; top: 264px; position: absolute; text-align: right; width: 230px" title="Total a Pagar."/>
                                <ice:panelLayout id="painelOpcoes" layout="flow" style="height: 46px; left: 0px; top: 0px; position: absolute; width: 980px; -rave-layout: grid">
                                    <ice:commandButton alt="Novo" id="botaoNovo" image="/resources/botaoNovo.png" immediate="true"
                                        style="height: 45px; left: 168px; top: 0px; position: absolute; width: 64px" title="Novo" value="Novo"/>
                                    <ice:commandButton action="#{Financeiro$CadastrarContaPagar.botaoConsultar_action}" alt="Consulta" id="botaoConsultar"
                                        image="/resources/botaoConsultar.png" immediate="true" partialSubmit="true"
                                        style="height: 45px; left: 240px; top: 0px; position: absolute; width: 64px" title="Consultar" value="Consultar"/>
                                    <ice:commandButton alt="Alterar" id="botaoAlterar" image="/resources/botaoAlterar.png" immediate="true"
                                        style="height: 45px; left: 312px; top: 0px; position: absolute; width: 64px" title="Alterar" value="Alterar"/>
                                    <ice:commandButton alt="Imprimir" id="botaoImprimir" image="/resources/botaoImprimir.png" immediate="true"
                                        style="height: 45px; left: 384px; top: 0px; position: absolute; width: 64px" title="Imprimir" value="Imprimir"/>
                                    <ice:commandButton alt="Salvar" id="botaoCadastrar1" image="/resources/botaoSalvar.png"
                                        style="height: 45px; left: 456px; top: 0px; position: absolute; width: 64px" title="Salvar/Cadastrar" value="Cadastrar"/>
                                    <ice:commandButton alt="Limpar" id="botaoLimpar" image="/resources/botaoLimpar.png" immediate="true"
                                        style="height: 45px; left: 528px; top: 0px; position: absolute; width: 64px" title="Limpar Campos" type="reset" value="Limpar"/>
                                    <ice:commandButton action="#{Financeiro$CadastrarContaPagar.botaoSair_action}" alt="Sair" id="botaoSair"
                                        image="/resources/botaoSair.png" immediate="true" partialSubmit="true"
                                        style="height: 45px; left: 912px; top: 0px; position: absolute; width: 64px" title="Sair" value="Sair"/>
                                </ice:panelLayout>
                            </ice:panelLayout>
                        </ice:panelGroup>
                    </ice:form>
                </ice:outputBody>
            </body>
        </ice:outputHtml>
    </f:view>
</jsp:root>
